<?php

if(!(isset($_COOKIE['isLogin']) && $_COOKIE['isLogin'] == "1")) {
    // header("Location:login.php");
    echo "你还没有登录，请登录！";
    echo '<script>setTimeout(function () {
        location="login.php"
        },300);
        </script>';
} else {
    echo "你已经登录了";
}
